#include "stl.h"
#include "parse.h"
#include "solution.h"
int main(int argc, char *argv[])
{
    string str = "[[\"[[7,0],[4,4],[7,1],[5,0],[6,1],[5,2]]\"],[\"[[6,0],[5,0],[4,0],[3,2],[2,2],[1,4]]\"]]";
    vector<vector<string>> arr = parseStringArrArr(str);
    for (int i = 0; i < arr.size(); i++)
    {
      vector<string> args = arr[i];
      Solution *s = new Solution();
      vector<vector<int>> arg0 = parseIntegerArrArr(args[0]);
      vector<vector<int>> result=s->reconstructQueue(arg0);
      string resultabc =serializeIntegerArrArr(result);
      cout << "resultabc"+to_string(i)+":" << resultabc <<"resultend"<< endl;
    }
    return 0;
}